package cn.stylefeng.guns.modular.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.entity.IdjActivityApply;
import cn.stylefeng.guns.modular.entity.responseVo.ActivityCountVo;

import java.util.List;

import org.springframework.web.servlet.ModelAndView;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 活动报名 服务类
 * </p>
 *
 * @author TANGWJ
 * @since 2020-08-04
 */
public interface IIdjActivityApplyService extends IService<IdjActivityApply> {

	LayuiPageInfo getList(Page<IdjActivityApply> page, String userName,  String division, Integer userType, String beginTime, String endTime, Integer status, Integer sex, String orderBy, String order);

	ModelAndView edit(Long activityId);
	
	int setStatus(IdjActivityApply apply);
	
	List<ActivityCountVo> selectDivisionCount();
    
    ActivityCountVo selectSumCount();

}
